<div class="side"> 
	<h2 class="offScreen">网站导航</h2>
	<div class="sidebar-panel">
		<div id="" class="category">
			<div class="cate-panel hierarchy-cate" id="J_CateNavigation">
				<ul class="cate-nav">
					<li>
						<a href="${springMacroRequestContext.contextPath}/shop/category">
							<b class="icon grayLeft"></b>所有商品分类
						</a>
						<ul>
							<#list folderAPI.getAncestorListByInode(currentFolder.inode) as folder>

							<#if folder.inode == currentFolder.inode>
							<#else>
								<#if folderAPI.hasChildren(currentFolder)>
								<li>
									<a href="${springMacroRequestContext.contextPath}${folder.listPath}?inode=${folder.inode}">
									<b class="icon grayLeft"></b><span>${folder.title}</span></a>
								</li>
								<#elseif currentFolder.parentInode != folder.inode>
								<li>
									<a href="${springMacroRequestContext.contextPath}${folder.listPath}?inode=${folder.inode}">
									<b class="icon grayLeft"></b><span>${folder.title}</span></a>
								</li>

								</#if>
							</#if>
							</#list>
						</ul>
					</li>
				</ul>
				<#if folderAPI.hasChildren(currentFolder)>
				<div class="cate-item">
					<dl>
						<dt><strong>${currentFolder.title}</strong></dt>
							<dd>
							<ul>
								<#list folderAPI.getChildrenListByInode(currentFolder.inode) as folder>
								<li>
									<a href="${springMacroRequestContext.contextPath}${folder.listPath}?inode=${folder.inode}" title="${folder.friendlyName}">
										${folder.title}<b>(973)</b>
									</a>
								</li>
								</#list>
							</ul>
						</dd>
					</dl>
				</div>
				<#else>
				<div class="cate-item">
					<dl>
						<dt><strong>${currentFolder.parentNode.title}</strong></dt>
							<dd>
							<ul>
								<#list folderAPI.getChildrenListByInode(currentFolder.parentInode) as folder>
								<li>
									<a href="${springMacroRequestContext.contextPath}${folder.listPath}?inode=${folder.inode}" title="${folder.friendlyName}">
										${folder.title}<b>(973)</b>
									</a>
								</li>
								</#list>
							</ul>
						</dd>
					</dl>
				</div>
				</#if>
			</div>
		</div>					
	</div>
</div>